﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
//using System.Web.DynamicData;
using OA.Model;
using OA.Model.MyAttribute;
using OA.Core;
using System;


namespace OA.Model
{
    [Table("Schedule")]
    public class Schedule : BaseInfo
    {
        [MaxLength(10)]
        public string EmpID { get; set; }

        [MaxLength(50)]
        public string Title { get; set; }

        [MaxLength(20)]
        public string Type { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 参与者
        /// </summary>
        [MaxLength(500)]
        public string TakerName { get; set; }

        /// <summary>
        /// 事务级别
        /// </summary>
        [MaxLength(50)]
        public string Level { get; set; }

        /// <summary>
        /// 开始提醒时间
        /// </summary>
        public DateTime Remind { get; set; }

    }
}
